Optimal. Leaf size=203 \[ \frac {a x^2}{2}+\frac {45 i b \text {Li}_6\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{4 d^6}+\frac {45 b \sqrt [3]{x} \text {Li}_5\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^5}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {1}{2} i b x^2 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 203, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 8, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {14, 3747, 3719, 2190, 2531, 6609, 2282, 6589} \[ \frac {a x^2}{2}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}+\frac {45 b \sqrt [3]{x} \text {Li}_5\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^5}+\frac {45 i b \text {Li}_6\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{4 d^6}-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {1}{2} i b x^2 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2190
Rule 2282
Rule 2531
Rule 3719
Rule 3747
Rule 6589
Rule 6609
Rubi steps
\begin {align*} \int x \left (a+b \tan \left (c+d \sqrt [3]{x}\right )\right ) \, dx &=\int \left (a x+b x \tan \left (c+d \sqrt [3]{x}\right )\right ) \, dx\\ &=\frac {a x^2}{2}+b \int x \tan \left (c+d \sqrt [3]{x}\right ) \, dx\\ &=\frac {a x^2}{2}+(3 b) \operatorname {Subst}\left (\int x^5 \tan (c+d x) \, dx,x,\sqrt [3]{x}\right )\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-(6 i b) \operatorname {Subst}\left (\int \frac {e^{2 i (c+d x)} x^5}{1+e^{2 i (c+d x)}} \, dx,x,\sqrt [3]{x}\right )\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {(15 b) \operatorname {Subst}\left (\int x^4 \log \left (1+e^{2 i (c+d x)}\right ) \, dx,x,\sqrt [3]{x}\right )}{d}\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {(30 i b) \operatorname {Subst}\left (\int x^3 \text {Li}_2\left (-e^{2 i (c+d x)}\right ) \, dx,x,\sqrt [3]{x}\right )}{d^2}\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}+\frac {(45 b) \operatorname {Subst}\left (\int x^2 \text {Li}_3\left (-e^{2 i (c+d x)}\right ) \, dx,x,\sqrt [3]{x}\right )}{d^3}\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}+\frac {(45 i b) \operatorname {Subst}\left (\int x \text {Li}_4\left (-e^{2 i (c+d x)}\right ) \, dx,x,\sqrt [3]{x}\right )}{d^4}\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}+\frac {45 b \sqrt [3]{x} \text {Li}_5\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^5}-\frac {(45 b) \operatorname {Subst}\left (\int \text {Li}_5\left (-e^{2 i (c+d x)}\right ) \, dx,x,\sqrt [3]{x}\right )}{2 d^5}\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}+\frac {45 b \sqrt [3]{x} \text {Li}_5\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^5}+\frac {(45 i b) \operatorname {Subst}\left (\int \frac {\text {Li}_5(-x)}{x} \, dx,x,e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{4 d^6}\\ &=\frac {a x^2}{2}+\frac {1}{2} i b x^2-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}+\frac {45 b \sqrt [3]{x} \text {Li}_5\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^5}+\frac {45 i b \text {Li}_6\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{4 d^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 203, normalized size = 1.00 \[ \frac {a x^2}{2}+\frac {45 i b \text {Li}_6\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{4 d^6}+\frac {45 b \sqrt [3]{x} \text {Li}_5\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^5}-\frac {45 i b x^{2/3} \text {Li}_4\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^4}-\frac {15 b x \text {Li}_3\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d^3}+\frac {15 i b x^{4/3} \text {Li}_2\left (-e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{2 d^2}-\frac {3 b x^{5/3} \log \left (1+e^{2 i \left (c+d \sqrt [3]{x}\right )}\right )}{d}+\frac {1}{2} i b x^2 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.48, size = 0, normalized size = 0.00 \[ {\rm integral}\left (b x \tan \left (d x^{\frac {1}{3}} + c\right ) + a x, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \tan \left (d x^{\frac {1}{3}} + c\right ) + a\right )} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.84, size = 0, normalized size = 0.00 \[ \int x \left (a +b \tan \left (c +d \,x^{\frac {1}{3}}\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.23, size = 618, normalized size = 3.04 \[ \frac {5 \, {\left (d x^{\frac {1}{3}} + c\right )}^{6} a + 5 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{6} b - 30 \, {\left (d x^{\frac {1}{3}} + c\right )}^{5} a c - 30 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{5} b c + 75 \, {\left (d x^{\frac {1}{3}} + c\right )}^{4} a c^{2} + 75 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{4} b c^{2} - 100 \, {\left (d x^{\frac {1}{3}} + c\right )}^{3} a c^{3} - 100 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{3} b c^{3} + 75 \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} a c^{4} + 75 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} b c^{4} - 30 \, {\left (d x^{\frac {1}{3}} + c\right )} a c^{5} - 30 \, b c^{5} \log \left (\sec \left (d x^{\frac {1}{3}} + c\right )\right ) - {\left (96 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{5} b - 300 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{4} b c + 400 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{3} b c^{2} - 300 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} b c^{3} + 150 i \, {\left (d x^{\frac {1}{3}} + c\right )} b c^{4}\right )} \arctan \left (\sin \left (2 \, d x^{\frac {1}{3}} + 2 \, c\right ), \cos \left (2 \, d x^{\frac {1}{3}} + 2 \, c\right ) + 1\right ) - {\left (-240 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{4} b + 600 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{3} b c - 600 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} b c^{2} + 300 i \, {\left (d x^{\frac {1}{3}} + c\right )} b c^{3} - 75 i \, b c^{4}\right )} {\rm Li}_2\left (-e^{\left (2 i \, d x^{\frac {1}{3}} + 2 i \, c\right )}\right ) - {\left (48 \, {\left (d x^{\frac {1}{3}} + c\right )}^{5} b - 150 \, {\left (d x^{\frac {1}{3}} + c\right )}^{4} b c + 200 \, {\left (d x^{\frac {1}{3}} + c\right )}^{3} b c^{2} - 150 \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} b c^{3} + 75 \, {\left (d x^{\frac {1}{3}} + c\right )} b c^{4}\right )} \log \left (\cos \left (2 \, d x^{\frac {1}{3}} + 2 \, c\right )^{2} + \sin \left (2 \, d x^{\frac {1}{3}} + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x^{\frac {1}{3}} + 2 \, c\right ) + 1\right ) + 360 i \, b {\rm Li}_{6}(-e^{\left (2 i \, d x^{\frac {1}{3}} + 2 i \, c\right )}) + 90 \, {\left (8 \, {\left (d x^{\frac {1}{3}} + c\right )} b - 5 \, b c\right )} {\rm Li}_{5}(-e^{\left (2 i \, d x^{\frac {1}{3}} + 2 i \, c\right )}) - {\left (720 i \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} b - 900 i \, {\left (d x^{\frac {1}{3}} + c\right )} b c + 300 i \, b c^{2}\right )} {\rm Li}_{4}(-e^{\left (2 i \, d x^{\frac {1}{3}} + 2 i \, c\right )}) - 30 \, {\left (16 \, {\left (d x^{\frac {1}{3}} + c\right )}^{3} b - 30 \, {\left (d x^{\frac {1}{3}} + c\right )}^{2} b c + 20 \, {\left (d x^{\frac {1}{3}} + c\right )} b c^{2} - 5 \, b c^{3}\right )} {\rm Li}_{3}(-e^{\left (2 i \, d x^{\frac {1}{3}} + 2 i \, c\right )})}{10 \, d^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int x\,\left (a+b\,\mathrm {tan}\left (c+d\,x^{1/3}\right )\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \left (a + b \tan {\left (c + d \sqrt [3]{x} \right )}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________